<table class="commodity-table">
	<thead>
		<tr>
			<th colspan="12">汇款确认单</th>
		</tr>
		<tr>
			<th>ID</th>
			<th>支付银行</th>
			<th>支付金额</th>
			<th>支付方式</th>
			<th>支付人</th>
			<th>电话</th>
			<th>E-mail</th>
			<th>地址</th>
			<th>备注</th>
			<th>确认管理员</th>
			<th>状态</th>
			<th>更新时间</th>
		</tr>
	</thead>
	<tbody>
		#{if _remittanceConfirms}
			#{list items:_remittanceConfirms, as:'item'}
			<tr>
				<td>${item.id}</td>
				<td>${item.bankName}</td>
				<td>${item.price}</td>
				<td>
					#{if item.confirmStatus == "online"}在线支付#{/if}
					#{if item.confirmStatus == "bankTransfer"}银行汇款#{/if}
				</td>
				<td>${item.paierName}</td>
				<td>${item.phone}</td>
				<td>${item.email}</td>
				<td>${item.address}</td>
				<td>${item.remark}</td>
				<td>
					#{if item.admin}
						${item.admin.username}
					#{/if}
				</td>
				<td>
					#{if item.confirmStatus == models.RemittanceConfirm.ConfirmStatus.NEW} <font class="important_1">确认中</font> #{/if}
					#{if item.confirmStatus == models.RemittanceConfirm.ConfirmStatus.FAIL} <font class="">不通过</font> #{/if}
					#{if item.confirmStatus == models.RemittanceConfirm.ConfirmStatus.PASS} <font class="important_2">通过</font> #{/if}
				</td>
				<td>${item.lastModifiedAt.format("yyyy-MM-dd hh:mm")}</td>
			</tr>
			#{/list}
		#{/if}
		#{else}
		<tr>
			<td class="12">没有找到任何记录。</td>
		</tr>
		#{/else}
	</tbody>
</table>